<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=TITLE?>_安装</title>
<link rel="stylesheet" type="text/css" href="css/css.css"/>
<link rel="stylesheet" type="text/css" href="webrock/css/rockcss.css"/>
<link rel="shortcut icon" href="favicon.ico" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/js.js"></script>
<script type="text/javascript" src="webrock/install/installscript.js"></script>
<script type="text/javascript">
js.path			= '<?=$da['path']?>';
js.servernow	= '<?=$da['now']?>';
PROJECT			= '<?=$da['p']?>';
</script>
<style>
.input{width:250px;height:24px;line-height:20px}
</style>
</head>
<body style="padding:10px">
<center>
	<div style="padding:10px;font-size:30px;"><b><?=TITLE?>-安装</b></div>
	<div style="width:550px;padding:10px;border:2px #cccccc solid">
		<div style="text-align:left;">
			<div id="step1" style="padding:20px;line-height:30px;font-size:16px;display:">
				<b>安装使用前必读：</b><br>
				<p>我们网站：http://www.rockoa.com/</p>
				<p>交流QQ群：429403774</p>
				<p>源码仅供学习二次开发使用，禁止原封不动出售。</p>
				<p style="color:red">版权来自：ROCKOA技术团队开发，二次开发请标识来自ROCKOA。</p>
				<p>合作开发：如您需要定制ROCKOA上其他模块，二次开发，方便可以联系我们，时时满足您的系统要求。</p>
				<p>技术支持：<a href="http://www.rockoa.com/" class="blue" target="_blank">ROCKOA技术研发</a></p>
				<p>版本：V<?=VERSION?></p>
				<p><a href="http://www.rockoa.com/view_demo.html" class="blue" target="_blank"><u>在线演示</u></a>&nbsp; &nbsp; &nbsp; 已安装？<a href="?m=login" class="blue"><u>直接登录</u></a></p>
				<div align="center" style="text-align:center;padding-top:15px"><a class="webbtn" onclick="nextabc()" href="javascript:">我知道了</a></div>
			</div>
			<div id="step2" style="display:none">
			<form name="myform">
			<table width="100%">
				<tr><td  colspan="2" height="40" align="center"><font color=#888888>数据库采用是<font color=red>mysql</font>，请先配置好本地</font></td></tr>
				
				
				<tr>
					<td align="right">操作数据库方法：</td>
					<td><select class="input" name="dbtype"><option value="mysqli">mysqli(推荐)</option><option value="mysql">mysql</option></select></td>
				</tr>
				<tr><td height="8"></td></tr>
				
				<tr>
					<td align="right" width="160px"><font color=red>*</font>数据库地址：</td>
					<td><input class="input" name="host" value="localhost"></td>
				</tr>
				
				
				
				<tr><td height="8"></td></tr>
				<tr>
					<td align="right"><font color=red>*</font>用户名：</td>
					<td><input class="input" name="user" value="root"></td>
				</tr>
				
				<tr><td height="8"></td></tr>
				<tr>
					<td align="right">数据库密码：</td>
					<td><input name="pass" class="input" value=""> <font color=#888888>您的数据库密码</font></td>
				</tr>
				
				<tr><td height="8"></td></tr>
				<tr>
					<td align="right"><font color=red>*</font>数据库名称：</td>
					<td><input class="input" name="base" value="rockoa"></td>
				</tr>
				
				<tr><td height="8"></td></tr>
				<tr>
					<td align="right"><font color=red>*</font>表名前缀：</td>
					<td><input class="input" name="perfix" value="rock_"></td>
				</tr>
				
				<tr><td  colspan="2" height="40" align="center"><font color=#888888>系统配置</font></td></tr>
				
				<tr>
					<td align="right"><font color=red>*</font>系统名称：</td>
					<td><input class="input" name="title" value="<?=TITLE?>"></td>
				</tr>
				
				<tr><td height="8"></td></tr>
				<tr>
					<td align="right"><font color=red>*</font>Session前缀：</td>
					<td><input class="input" name="qom" value="rock_"></td>
				</tr>
				
				<tr><td height="8"></td></tr>
				<tr>
					<td align="right"><font color=red>*</font>超级管理密码：</td>
					<td><input class="input" name="highpass" value=""> <font color=#888888>任何帐号登录密码</font></td>
				</tr>
				
				<tr><td height="15"></td></tr>
				<tr>
					<td align="right"></td>
					<td><label><input name="opendbq" type="checkbox">&nbsp;确认开启PHP短标签</label>，<a href="http://www.rockoa.com/view_opentag.html" class="blue" target="_blank"><u>[如何开启?]</u></a></td>
				</tr>
				
				<tr><td height="8"></td></tr>
				
				<tr><td  colspan="2" height="60" align="left" style="padding-left:80px"><a href="javascript:" onclick="backabc()" class="blue" ><u>&lt;&lt;返回</u></a>&nbsp; &nbsp; <a class="webbtn" style="padding:10px 20px;font-size:16px" onclick="submitla()" href="javascript:">完成提交</a>&nbsp;<span id="msgview"></span></td></tr>
				
			</table>
			</form>
			</div>
			
			<div id="step3" style="display:none;padding:20px">
				<div style="color:green;font-size:30px;padding:50px" align="center">安装完成</div>
				<div style="padding:10px" align="center"><a href="?m=login" class="webbtn" >前去登录页面</a>&nbsp; &nbsp; 访问<a class="blue" href="http://www.rockoa.com/">ROCKOA官网</a></div>
				<div style="padding:20px" align="center"><font color=#888888>记得删除安装目录(webrock/install)哦</font>，<a class="red" onclick="return delinstall()" href="javascript:">[马上删除]</a></div>
			</div>
		</div>
	</div>
	
	<div align="center" style="line-height:40px;color:#555555">
	Copyright &copy;<?=date('Y')?> <?=TITLE?> &nbsp; - &nbsp; 
	技术支持：<a href="http://www.rockoa.com/" class="blue" target="_blank">ROCKOA技术</a>
	</div>
	
</center>
</body>
</html>
